package com.zking.entity;

public class Cart {
    private int id;
    private String catname;
    private String username;
    private String pic;
    private String content;
    private int state;
    private double price;
    private int number;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCatname() {
        return catname;
    }

    public void setCatname(String catname) {
        this.catname = catname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "id=" + id +
                ", catname='" + catname + '\'' +
                ", username='" + username + '\'' +
                ", pic='" + pic + '\'' +
                ", content='" + content + '\'' +
                ", state=" + state +
                ", price=" + price +
                ", number=" + number +
                '}';
    }
}
